#pragma once
#include "item.h"
#include <list>

#define MAX_ANT_AGE 100
#define MIN_STRAIGHT_WAY 3

class CAnt : public CItem
{
public:
	CAnt(void);
	~CAnt(void);
	void act( int id);

protected:
	void CalcMove();
	void Move2(CArea * TargetArea);
	int CheckForFood();
	int CheckForAnthill();
	

private:
	int age;
	int food;
	int straight_way;
	std::list<int> lwaypoints;
	int GetDir();
	void Die();
	

};

